package com.unohacha.qqj.fzdr.domian;

import java.util.List;

public class DistrictModel {
	private int id;
	private String name;
	private List<TownModle> list;
	
	public DistrictModel() {
		super();
	}

	public DistrictModel(int id,String name, String zipcode,List<TownModle> list) {
		super();
		this.id = id;
		this.name = name;
		this.list = list;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public List<TownModle> getList() {
		return list;
	}

	public void setList(List<TownModle> list) {
		this.list = list;
	}

	@Override
	public String toString() {
		return "DistrictModel [id="+id+",name=" + name + ", list=" + list + "]";
	}

}
